﻿<%@ Page Language="C#" MasterPageFile="~/System/MasterPageTra.master" AutoEventWireup="true" CodeFile="TraConfirmPayMent.aspx.cs" Inherits="Bidder_ConfirmPayMent" Title="Untitled Page" %>
<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script language="vbscript" src="../Common/yz.vbs"></script>
<script language="javascript" src="../common/javascript/calendar.js" type="text/javascript"></script>

    <table width="98%" border="0" cellpadding="2" cellspacing="1" id="tabData">
        <tr>
            <td align="right" style="height: 26px">
                回款单名称：</td>
            <td style="height: 26px">
                <asp:TextBox ID="txtPaymentName" runat="server"  Width="197px"></asp:TextBox>
            </td>
            <td align="right" style="height: 26px">
                回款状态：</td>
            <td style="height: 26px">
                <asp:DropDownList ID="DLPayStatus" runat="server" Width="197px">
                    <asp:ListItem Value="全部" Selected="True">全部</asp:ListItem>
                    <asp:ListItem Value="未确认">未确认</asp:ListItem>
                    <asp:ListItem Value="已确认">已确认</asp:ListItem>
                </asp:DropDownList></td>

        </tr>
        <tr>
                    <td align="right" >
                回款开始时间：</td>
            <td style="height: 26px">
                <asp:TextBox ID="txtPaymentStartDate" runat="server"  onclick="javascript:fPopCalendar(this,this);"
                    dataType="Date" format="ymd" require="true" DateTimeOnly="回款开始时间" Width="197px"></asp:TextBox></td>

            <td align="right" style="height: 26px">
                回款结束时间：</td>
            <td style="height: 26px">
                <asp:TextBox ID="txtPaymentEndDate" runat="server" Width="197px" 
                    onclick="javascript:fPopCalendar(this,this);" dataType="Date" format="ymd" require="true" DateTimeOnly="回款结束时间" ></asp:TextBox></td>
        </tr>
        <tr>
            <td align="right" style="height: 26px">
            </td>
            <td style="height: 26px">
                </td>
            <td align="left" style="height: 26px">
                <asp:Button ID="Button5" runat="server" Text="查 询" CssClass="button_bg" OnClientClick="javascript:return CheckForm();" Width="60px" /></td>
            <td style="height: 26px">
                <input id="Submit1" type="submit" value="确认回款单" class="button_bg6" style="width: 92px" name="chk" onclick="javascript:return confirm('确认提交吗？提交后将不能撤销！')" /></td>
        </tr>
    </table>
    <asp:DataList ID="DlAttorney" runat="server" Width="98%" CssClass='table_table' HeaderStyle-CssClass='table_title'>
        <ItemStyle CssClass="table_td" />
        <AlternatingItemStyle CssClass="table_td2" />
        <HeaderTemplate>
            <table width="98%">
                <tr>
                <td align="center" width="6%">
                        回款单编号</td>
                    <td align="center" width="14%">
                        回款单名称</td>
                    <td align="center" width="14%">
                        医院名称名称</td>
                    <td align="center" width="8%">
                        注册号</td>
                    <td align="center" width="10%">
                        回款金额</td>
                    
                    <td align="center" width="10%">
                        回款状态</td>
                    
                    <td align="center" width="6%">
                        确认</td>
                </tr>
            </table>
        </HeaderTemplate>
        <ItemTemplate>
            <table width="98%">
                <tr>
                <td width="6%" align="center">
                      <a href='Receiptiddetail.aspx?PaymentId=<%# DataBinder.Eval(Container.DataItem, "PaymentId")%>'>
                      <%# DataBinder.Eval(Container.DataItem, "PaymentId")%></a>
                    </td>
                    <td width="14%" align="center">
                        <%# DataBinder.Eval(Container.DataItem, "PaymentName")%>
                    </td>
                    <td width="14%" align="center">
                        <%# DataBinder.Eval(Container.DataItem, "HospitalName")%>
                    </td>
                    <td width="8%" align="center">
                        <%# DataBinder.Eval(Container.DataItem, "UserCode_PS")%>
                    </td>
                    <td width="10%" align="center">
                        <%# DataBinder.Eval(Container.DataItem, "PaymentPrice")%>
                    </td>
                    
                    <td width="10%" align="center">
                        <%# DataBinder.Eval(Container.DataItem, "PaymentState")%>
                    </td>
                    
                    <td width="6%" align="center">
                       <input type="checkbox" name="upcheck" value="<%# DataBinder.Eval(Container.DataItem, "PaymentId")%>" <%# DataBinder.Eval(Container.DataItem, "disabled")%> />
                    </td>
                </tr>
                
            </table>
        </ItemTemplate>
    </asp:DataList>
    <uc1:DbPageFlip ID="DbPageFlip1" runat="server" />
</asp:Content>

